package jse.convert;

import java.text.ParseException;
import java.util.Locale;
import java.util.Map;

import org.springframework.format.Formatter;

public class MapFormatter implements Formatter<Map<String,Object>> {

	private String formatted;
	
	public MapFormatter(String formatted) {
		this.formatted=formatted;
	}
	@Override
	public String print(Map<String, Object> map, Locale locale) {
		if(map== null){
			 return null;
		}
		return null;
	}

	@Override
	public Map<String, Object> parse(String formatted, Locale locale) throws ParseException {
		if(formatted.length()== 0){
			 return null;
		}
		if(this.formatted=="") {
			
		}
		return null;//转换
	}

	

	

}
